package com.kingyea.app.market.appauthorization.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * @author hx
 * @version v1.0.0
 * @description AppAuthorization 实体类
 * @date Created in 2018-05-02 11:34:11
 */
public class AppAuthorization implements Serializable {

    private Integer id;
    /**
     * 应用code
     */
    private String appCode;
    /**
     * 市场code
     */
    private Integer marketCode;
    /**
     * 部门唯一标识
     */
    private String orgSerialNo;
    /**
     * 角色ID
     */
    private Integer roleId;
    /**
     * 警种id
     */
    private Integer police;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 类型 1 部门，2 角色， 3 警种， 4 用户
     */
    private Integer type;
    /**
     * 授权人 userID
     */
    private String authorizationUserId;
    /**
     * 授权时间
     */
    private Date createDate;

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAppCode() {
        return this.appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public Integer getMarketCode() {
        return this.marketCode;
    }

    public void setMarketCode(Integer marketCode) {
        this.marketCode = marketCode;
    }

    public String getOrgSerialNo() {
        return this.orgSerialNo;
    }

    public void setOrgSerialNo(String orgSerialNo) {
        this.orgSerialNo = orgSerialNo;
    }

    public Integer getRoleId() {
        return this.roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getPolice() {
        return this.police;
    }

    public void setPolice(Integer police) {
        this.police = police;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getType() {
        return this.type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getAuthorizationUserId() {
        return this.authorizationUserId;
    }

    public void setAuthorizationUserId(String authorizationUserId) {
        this.authorizationUserId = authorizationUserId;
    }

    public Date getCreateDate() {
        return this.createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }


}
